package org.example.service;

import jakarta.servlet.http.HttpServletRequest;
import org.example.exception.CusAuthenticationException;
import org.example.result.R;

public interface UserService {
    R login(String username, String password);

    R logout(HttpServletRequest request) throws CusAuthenticationException;
}
